﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="DutyAddType2.aspx.cs" Inherits="BasicBase_Duty_DutyAddType2" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" class="dialog" width="770px">
        <caption>
            <span>添加值班类别</span></caption>
        <tr>
            <td>
                <table style="width: 100%">
                    <tr>
                        <td style="width: 20px">
                            &nbsp;
                        </td>
                        <td style="width: 100px">
                            类别名称：
                        </td>
                        <td style="width: 500px">
                            <asp:TextBox ID="txtName" runat="server" Width="400px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                                Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            所属单位：
                        </td>
                        <td>
                            <asp:DropDownList ID="dptDepartment" runat="server" Width="405px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            值班人数：
                        </td>
                        <td>
                            <asp:TextBox ID="txtNum" runat="server" Width="400px"></asp:TextBox>
                            <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtNum"
                                Display="Dynamic" ErrorMessage="请输入数字" MaximumValue="9999" MinimumValue="0"></asp:RangeValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNum"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td >
                            <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="添 加" />
                            <asp:Label ID="lblpromt" runat="server" ForeColor="Orange"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
